package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 测试灵魂题目选项实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "options")
public class Options implements java.io.Serializable{

    private ObjectId id; //主键id
    private String questionId; // 题目id
    private String option; // 题目回答选项
    private Integer score; // 选项对应的分数
}